package com.errol.batchprocessor.employeeaddition;

import com.renjia.entity.CoreEmployeeImportBatch;
import com.renjia.service.generic.middleware.batchprocessor.BatchProcessorMonitor;
import com.renjia.service.generic.middleware.batchprocessor.payload.AbstractPiecePayload;
import com.renjia.service.generic.middleware.batchprocessor.payload.AbstractSinglePayload;
import com.renjia.service.module.employeeaddition.advisorimpl.EmployeeAdvisorTypeEnum;
import com.renjia.service.module.employeeaddition.advisorimpl.common.payload.AbstractEmployeeBatchPayload;

/**
 * 导入、添加人员的监控服务，主要功能有：接收人员导入的任务并加入处理服务、对外暴露一些导入任务的监控功能、监控异常中断的任务并自动处理
 *
 * @author zhang xiao bin
 * @version v1.0
 * @date 2021/02/03
 * @since v5.0.5
 **/
public interface EmployeeMonitorService<BE, SE, BP extends AbstractEmployeeBatchPayload<BE, SE>, PP extends AbstractPiecePayload<SE, SP>, SP extends AbstractSinglePayload<SE>>
        extends BatchProcessorMonitor<CoreEmployeeImportBatch, EmployeeAdvisorTypeEnum, BE, SE, BP, PP, SP> {

}
